<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我的评价</title>
    <link rel="stylesheet" href="./css/comment.css">
</head>
<body>
<header>
    <h1>我的评价</h1>
</header>

<div class="container">
    <div class="comment-form">
        <h2>发表评论</h2>
        <form id="commentForm">
            <label for="username">用户名：</label>
            <input type="text" id="username" name="username" required>

            <label for="comment">评论：</label>
            <textarea id="comment" name="comment" rows="4" required></textarea>

            <button type="button" onclick="submitComment()">提交评论</button>
        </form>
    </div>

    <div class="comments" id="commentsContainer">
        <h2>用户评论</h2>

        <!-- 动态加载的评论将在这里显示 -->
    </div>
</div>
</body>
<script src="js/comment.js"></script>
</html>
